From d97505c6df2eb873b7c7e7b52b9d11940a3b5b8f Mon Sep 17 00:00:00 2001 From: "iap10@labyrinth.cl.cam.ac.uk" Date: Mon, 7 Feb 2005 14:48:34 +0000 Subject: [PATCH] bitkeeper revision 1.1159.247.1 (42077fc2VzXadqgxjViiGV6bG9CwbA) Don't memcpy the arch specific bit of exec_domain from the idle task's. This caused the ctxt->pt_base !=0 error when starting new domains. --- xen/common/domain.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/xen/common/domain.c b/xen/common/domain.c index d06ed7c491..6eee6931d4 100644 --- a/xen/common/domain.c +++ b/xen/common/domain.c @@ -45,8 +45,6 @@ struct domain *do_createdomain(domid_t dom_id, unsigned int cpu) ed->processor = cpu; d->create_time = NOW(); - memcpy(&ed->arch, &idle0_exec_domain.arch, sizeof(ed->arch)); - spin_lock_init(&d->time_lock); spin_lock_init(&d->big_lock); -- 2.30.2